package cn.gok.oa.log.service.impl;

import cn.gok.oa.log.entity.Log;
import cn.gok.oa.log.mapper.LogMapper;
import cn.gok.oa.log.service.ILogService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author gok
 * @since 2022-08-04
 */
@Service
public class LogServiceImpl extends ServiceImpl<LogMapper, Log> implements ILogService {
    @Autowired
    LogMapper logMapper;

    public void add(Log log){
        logMapper.insert(log);
    }
}
